﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CVSA.Master" AutoEventWireup="true"
    CodeBehind="TaskForce.aspx.cs" Inherits="CVSA.Suporte.Sinacor.BMFBovespa.ConsultaRemedy.TaskForce" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <style type="text/css">
        body
        {
            font-family: Calibri;
            font-size: 11pt;
            border: solid 1px;
            margin: 0px;
        }
        .LarguraCol
        {
            width: 600px;
        }
        .style1
        {
            vertical-align: top;
            width: 150px;
        }
        .tb
        {
            margin-left: 50px;
        }
        .style2
        {
            vertical-align: top;
            width: 500px;
        }
    </style>
    <p align='center'>
        Meta de Fechamento Dia :
        <asp:Label runat="server" ID="lblMeta" />
    </p>
    <table width='100%' align="center">
        <tr>
            <td align="center">
                <table width='100%'>
                    <tr>
                        <td align="left" width="50%" valign="top">
                            Equipe A
                            <asp:GridView runat="server" ID="equipeB" AutoGenerateColumns="false" OnRowDataBound="formatRowEquipeB"
                                ShowFooter="true" CellPadding="3" CellSpacing="0" Width="100%" EnableViewState="false" >
                                <HeaderStyle BackColor="Silver" ForeColor="Black" HorizontalAlign="Center" />
                                <FooterStyle BackColor="Silver" ForeColor="Black" HorizontalAlign="Right" />
                                <RowStyle BackColor="#c6efce" HorizontalAlign="Right" />
                                <Columns>
                                    <asp:TemplateField HeaderText="Data" FooterStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Center">
                                        <ItemTemplate>
                                            <asp:Label runat="server" ID="lblData" Text='<%# Eval("DataFechamento", "{0:d}")%>' />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            Total Geral:
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Alessandra">
                                        <ItemTemplate>
                                            <asp:Label ID="Label4" runat='server' Text='<%#Eval("Alessandra") %>' />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:Label runat="server" ID="lblTotalAlessandra" />
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Eunice">
                                        <ItemTemplate>
                                            <asp:Label ID="Label1" runat='server' Text='<%#Eval("Eunice") %>' />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:Label runat="server" ID="lblTotalEunice" />
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Matheus">
                                        <ItemTemplate>
                                            <asp:Label ID="Label2" runat='server' Text='<%#Eval("Matheus") %>' />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:Label runat="server" ID="lblTotalMatheus" />
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Valdemar">
                                        <ItemTemplate>
                                            <asp:Label ID="Label3" runat='server' Text='<%#Eval("Valdemar") %>' />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:Label runat="server" ID="lblTotalValdemar" />
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Total do Dia">
                                        <ItemTemplate>
                                            <asp:Label runat="server" ID="lblTotalDia" />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:Label runat="server" ID="lblTotalGeral" />
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </td>
                        <td align="left" width="50%" valign="top">
                            Equipe B
                            <asp:GridView runat="server" ID="equipeA" AutoGenerateColumns="false" OnRowDataBound="formatRowEquipeA"
                                ShowFooter="true" CellPadding="3" CellSpacing="0" Width="100%" EnableViewState="false" >
                                <HeaderStyle BackColor="Silver" ForeColor="Black" HorizontalAlign="Center" />
                                <FooterStyle BackColor="Silver" ForeColor="Black" HorizontalAlign="Right" />
                                <RowStyle BackColor="#c6efce" HorizontalAlign="Right" />
                                <Columns>
                                    <asp:TemplateField HeaderText="Data" FooterStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Center">
                                        <ItemTemplate>
                                            <asp:Label runat="server" ID="lblData" Text='<%# Eval("DataFechamento", "{0:d}")%>' />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            Total Geral:
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Aline">
                                        <ItemTemplate>
                                            <asp:Label ID="Label5" runat='server' Text='<%#Eval("Aline") %>' />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:Label runat="server" ID="lblTotalAline" />
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Elen">
                                        <ItemTemplate>
                                            <asp:Label ID="Label1" runat='server' Text='<%#Eval("Elen") %>' />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:Label runat="server" ID="lblTotalElen" />
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Patricia">
                                        <ItemTemplate>
                                            <asp:Label ID="Label2" runat='server' Text='<%#Eval("Patricia") %>' />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:Label runat="server" ID="lblTotalPatricia" />
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Paula">
                                        <ItemTemplate>
                                            <asp:Label ID="Label3" runat='server' Text='<%#Eval("Paula") %>' />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:Label runat="server" ID="lblTotalPaula" />
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Total do Dia">
                                        <ItemTemplate>
                                            <asp:Label runat="server" ID="lblTotalDia" />
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <asp:Label runat="server" ID="lblTotalGeral" />
                                        </FooterTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                Total de Chamados Fechados :
                <asp:Label runat="server" ID="lblTot" />
            </td>
        </tr>
    </table>
</asp:Content>
